﻿Imports System
Imports System.Text

Namespace ItalloVilardo.Dominio

    <Serializable()> _
    Public Class ItemPedido

        Private _id As Nullable(Of Long)
        Public Property Id() As Nullable(Of Long)
            Get
                Return _id
            End Get
            Set(ByVal value As Nullable(Of Long))
                _id = value
            End Set
        End Property

        Private _produtos As List(Of Produto)
        Public Property Produtos() As List(Of Produto)
            Get
                Return _produtos
            End Get
            Set(ByVal value As List(Of Produto))
                _produtos = value
            End Set
        End Property

        Private _precoitem As Double
        Public Property PrecoItem() As Double
            Get
                Return _precoitem
            End Get
            Set(ByVal value As Double)
                _precoitem = value
            End Set
        End Property

        Private _quantidade As Integer
        Public Property Quantidade() As Integer
            Get
                Return _quantidade
            End Get
            Set(ByVal value As Integer)
                _quantidade = value
            End Set
        End Property

        Private _desconto As Double
        Public Property Desconto() As Double
            Get
                Return _desconto
            End Get
            Set(ByVal value As Double)
                _desconto = value
            End Set
        End Property


    End Class

End Namespace